home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / comm / atsend15.zip / ATSEND.DOC < prev    next >
Text File  |  1992-04-22  |  7KB  |  202 lines

  1.  
  2.                               ATSEND V1.5
  3.                            (Formerly AT.EXE)
  4.     By Joseph Sheppard, Sysop, The Ledge PCBoard - (818) 896-4015
  5.  
  6.  
  7. ───────────
  8. DESCRIPTION
  9. ───────────
  10.  
  11. ATSEND.EXE allows users to send "AT" commands to Hayes compatible modems
  12. from the DOS command prompt, or from batch files.
  13.  
  14. ATSEND.EXE does not need a DTR utility to make it work.  DTR is handled
  15. directly by ATSEND.
  16.  
  17. ATSEND.EXE follows the DSZPORT= setting if it's found in the DOS
  18. environment.
  19.  
  20. ATSEND.EXE works with non-standard COM ports via environment
  21. variables COMBASE and COMIRQ.
  22.  
  23. ATSEND.EXE is written with Borland's Turbo Pascal  using communication
  24. routines from Prokit, (c) Samuel Smith.
  25.  
  26. ────────────
  27. HOW IT WORKS
  28. ────────────
  29.  
  30. To send a command to the modem, the user runs ATSEND.EXE by
  31. typing ATSEND at the DOS command prompt followed by the command to be sent
  32. to the modem, and the port the modem is connected to.
  33.  
  34. The default port is COM1 at standard address 3F8/IRQ4, so if your modem is
  35. attached to COM1 then you don't need to specify a port on the command line,
  36. or put it in the DOS environment using the DSZPORT variable.
  37.  
  38. If your modem is connected to COM2 at standard address 2F8/IRQ3, then you
  39. will always need to follow the command to be sent with the number 2, or
  40. have DSZPORT=2 in your DOS environment.  Non-Standard COM Ports are
  41. supported and explained later in this document.
  42.  
  43. ────────
  44. EXAMPLES
  45. ────────
  46.  
  47. ATSEND H1               (Take modem connected to COM1 off the hook)
  48.  
  49. ATSEND H1M0 2           (Take modem connected to COM2 off hook and turn-off
  50.                         speaker)
  51.  
  52. ATSEND M1DT18188964015  (Tell modem connected to COM1 to dial
  53.                         1-818-896-4015)
  54.  
  55. ATSEND Z 2              (Perform a reset on the modem connected to COM2)
  56.  
  57. To use the DSZPORT variable, and avoid having to type the port
  58. number on the command line, put the following line in your
  59. AUTOEXEC.BAT file:  SET DSZPORT=<PORT>.  For example, if you are
  60. using COM2:
  61.  
  62. SET DSZPORT=2
  63.  
  64. ───────────────────────────
  65. NON-STANDARD PORT SETTINGS:
  66. ───────────────────────────
  67.  
  68. ATSEND works with standard and non-standard serial port configurations.
  69. Here are the defaults:
  70.  
  71. Port    Base Address    IRQ
  72.  
  73. COM1    3F8             IRQ4
  74. COM2    2F8             IRQ3
  75. COM3    3E8             IRQ4
  76. COM4    2E8             IRQ3
  77. COM5    Undefined       Undefined
  78. COM6    Undefined       Undefined
  79. COM7    2E8             IRQ5
  80. COM8    3E8             IRQ5
  81.  
  82. If you use these setups, you can simply specify the port number in your
  83. ATSEND command line (Example: ATSEND Z 8 to reset a modem on COM8:):
  84.  
  85. If your port is setup differently, then ATSEND will look for two
  86. environment variables called COMBASE and COMIRQ.
  87.  
  88. COMBASE must be converted from hex to decimal in order to work properly
  89. (Example 744 for 2E8).  A utility called HEX2DEC.EXE is included to assist
  90. in changing your hex port address to decimal.
  91.  
  92. COMIRQ is simply the IRQ number being used.
  93.  
  94. For example, if you were going to run COM7 with a Base Address of 2F8 on
  95. IRQ2, at the DOS prompt, or in a batch file you would type:
  96.  
  97. SET COMBASE=760
  98. SET COMIRQ=2
  99.  
  100. This setting will override any DSZPORT, or command line commands.
  101. I have included a program called HEX2DEC.EXE that can be used to
  102. convert your hex port address into decimal.  If COMBASE and COMIRQ are in
  103. the environment, there is no need to put the port number on the command
  104. line.
  105.  
  106. ───────────
  107. ATBATCH.EXE
  108. ───────────
  109.  
  110. ATBatch is the easy way out.  It will create batch files for you
  111. that send the proper commands to ATSEND, including COMIRQ and
  112. COMBASE, including automatic hex to decimal conversion.  Use
  113. ATBATCH to create a batch file called ATH1.BAT.  Then you can
  114. just type ATH1 from DOS just like you were inside your favorite
  115. terminal program!
  116.  
  117. ────
  118. USES
  119. ────
  120.  
  121. I wrote this as a utility to take my modem off the hook during BBS mail
  122. runs so that callers wouldn't ring the line during the event.  I'm sure
  123. there are other uses for it, and would be interested in hearing from
  124. users who find new ways to use this program.
  125.  
  126. ───────
  127. SUPPORT
  128. ───────
  129.  
  130. The latest version of this program along with other software I have written
  131. are always available for download by first time callers to my BBS, The
  132. Ledge PCBoard, 818-896-4015 (HST/V32.bis). First time callers may download
  133. my programs on the first call when they use the "SUPPORT DOOR" which can be
  134. found by typing the word OPEN at the main menu.  You may pay for
  135. registration online with MASTERCARD or VISA when you call The Ledge and
  136. type REGISTER at the main menu command prompt.
  137.  
  138. Please report any problems, or suggestions to me at the following
  139. addresses:
  140.  
  141. US Mail:
  142. --------
  143. Joseph Sheppard
  144. The Ledge PCBoard
  145. 6858 Acco Street
  146. Los Angeles, CA 90040
  147.  
  148. Modem:
  149. ------
  150. The Ledge PCBoard
  151. 818-896-4015
  152. USRobotics Dual Standard HST (V.32bis)
  153.  
  154. Echo Mail:
  155. ----------
  156. U'NI-net/US (All Conferences)
  157. Smartnet (Sysop Conference)
  158.  
  159. Compuserve:
  160. -----------
  161. 73175,623
  162.  
  163. ────────────
  164. REGISTRATION
  165. ────────────
  166.  
  167. ATSEND.EXE is fully functional.  this is not crippled or limited software.
  168. You can support this method of distribution, and encourage it to continue
  169. by sending a shareware registration.  I will accept whatever you feel this
  170. program is worth to you, I would suggest $10.00.
  171.  
  172. For registrations by Visa or Mastercard, please call The Ledge PCBoard at
  173. (818) 896-4015 and enter the word REGISTER at the main menu command prompt.
  174.  
  175. Checks and Money Orders may be made payable to THE LEDGE PCBOARD and mailed
  176. to:
  177.  
  178.                 JOSEPH SHEPPARD
  179.                 THE LEDGE PCBOARD
  180.                 6858 ACCO STREET
  181.                 LOS ANGELES, CA 90040
  182.  
  183. ───────
  184. WARNING
  185. ───────
  186.  
  187. I make no warranty of any kind, express or implied, including without
  188. limitation, any warranties of merchantability and/or fitness for a
  189. particular purpose.  I shall not be liable for any damages, whether
  190. direct, indirect, special or consequential arising from a failure of
  191. this program to operate in the manner desired by the user.  I shall
  192. not be liable for any damage to data or property which may be caused
  193. directly or indirectly by the use of this program.
  194.  
  195. IN NO EVENT WILL I BE LIABLE TO YOU FOR ANY DAMAGES, INCLUDING ANY
  196. LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL OR CONSEQUENTIAL
  197. DAMAGES ARISING OUT OF YOUR USE OR INABILITY TO USE THE PROGRAM, OR
  198. FOR ANY CLAIM BY ANY OTHER PARTY.
  199.  
  200.  
  201.  
  202.